package com.qianfeng.zhangwei.xutils.db;

/**
 * @说 明：
 * @项目名称：Sz1504Adv
 * @包 名： com.qianfeng.zhangwei.xutils.db
 * @类 名： DbHelper
 * @创 建人： zhangwei
 * @创建时间：2015-08-05 09:40
 * @版 本：v1.0
 * @修 改人：
 * @修改时间：
 * @修改备注：
 */
public class DbHelper {

    public static class DbUser {
        public static final String TBNAME = "USER";
        public static final String id = "_ID";
        public static final String userId = "USER_ID";
        public static final String name = "NAME";
        public static final String psw = "PSW";


        public static final String CREATE_TB = "CREATE TABLE IF NOT EXISTS " + TBNAME
                + " ( "
                + id + " INTEGER PRIMARY KEY AUTOINCREMENT,"
                + userId + " text,"
                + name + " text,"
                + psw + " text"
                + ")";


        public static final String DROP_TB = "DROP TAB " + TBNAME;

    }
}
